﻿@{
    ViewBag.Title = "CreateQuestion";
}
@Styles.Render("~/Content/exam/question-add.css")

<div class="container" style="min-height:500px;">
    <div class="row">
        <div class="col-xs-3">
            <ul class="nav default-sidenav">
                <li>
                    <a href="admin/question-list"> <i class="fa fa-list-ul"></i> 试题管理 </a>

                </li>
                <li class="active">
                    <a> <i class="fa fa-pencil-square-o"></i> 添加试题 </a>
                </li>
            </ul>

        </div>
        <div class="col-xs-9">
            <div class="page-header">
                <h1><i class="fa fa-pencil-square-o"></i> 添加试题 </h1>
            </div>
            <div class="page-content row">
                <form id="question-add-form" style="margin-top:40px;">

                    <div class="form-line question-content">
                        <span class="form-label"><span class="warning-label">*</span>试题内容：</span>
                        <textarea class="add-question-ta"></textarea>
                    </div>

                    <div class="form-line form-question-opt" style="display: block;">
                        <span class="form-label"><span class="warning-label">*</span>选项：</span>
                        <div class="add-opt-items">
                            <span class="add-opt-item">
                                <label class="que-opt-no">A</label>
                                <input type="text" class="df-input-narrow form-question-opt-item">
                            </span>

                            <span class="add-opt-item">
                                <label class="que-opt-no">B</label>
                                <input type="text" class="df-input-narrow form-question-opt-item">
                            </span>
                            <span class="add-opt-item">
                                <label class="que-opt-no">C</label>
                                <input type="text" class="df-input-narrow form-question-opt-item">
                            </span>
                            <span class="add-opt-item">
                                <label class="que-opt-no">D</label>
                                <input type="text" class="df-input-narrow form-question-opt-item">
                            </span>
                        </div>
                        <span id="ques-add-opt"><i class="small-icon fa fa-plus-square" title="添加选项"></i></span>
                        <br>
                        <span class="form-message"></span>
                    </div>
                    <div class="form-line form-question-answer1 correct-answer" style="display: block;">
                        <span class="form-label"><span class="warning-label">*</span>正确答案：</span>
                        <select class="df-input-narrow">
                            <option value="A">A</option>
                            <option value="B">B</option>
                            <option value="C">C</option>
                            <option value="D">D</option>
                        </select><span class="form-message"></span>
                    </div>

                    <div class="form-line">
                        <input id="btn-save" value="保存" type="submit" class="df-submit">
                    </div>
                </form>

            </div>
        </div>
    </div>
</div>

@Scripts.Render("~/Scripts/exam/question-add.js")
